<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  	<head> 
	    <title>添加网吧/企业</title>
	    <meta http-equiv="X-UA-Compatible" content='IE=edge' />
	    <%@ include file="/inc/info.inc" %>
		<script type="text/javascript" src="/fw/pages/agent/js/inCafeAdd.js"></script>
  	</head>
  	<body>
	 	<div id="agentAdd" class="hd_page">
	 		<div><%@ include file="../manage/heading.jsp"%></div>
			<div><%@ include file="../manage/hd_menu.jsp"%></div>
	  		<div class="content">
				<div class="panel panel-primary panel-hd">
	  				<div class="panel-heading">添加网吧/企业</div>
	  				<div class="panel-body">
				 		<form id="agentAddForm" class="form-horizontal" style="width: 600px;">
							<%--<div class="form-group">
								<label class="col-sm-4 control-label no-padding-right">代理商名称</label>
								<div class="col-sm-8">
									<input type="text" class="form-control" id="agentName"/>
								</div>
							</div>
							--%><div class="form-group">
								<label class="col-sm-4 control-label no-padding-right">网吧/企业名称</label>
								<div class="col-sm-8">
									<input type="text" class="form-control" id="name"/>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-4 control-label no-padding-right">设备编号</label>
								<div class="col-sm-8">
									<input type="text" class="form-control" id="sn"/>
								</div>
							</div>
							<div id='alertdiv1'></div>
							<div class="form-group">
								<label class="col-sm-4 control-label no-padding-right">地区</label>
								<div class="col-sm-4">
								     <select class="form-control province" id="province" onchange="provinceChange()">
								        <option>请选择省</option>
								     </select>
								</div>
								<div class="col-sm-4">
								     <select class="form-control city" id="city">
								        <option>请选择市</option>
								     </select>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-4 control-label no-padding-right">详细地址</label>
								<div class="col-sm-8">
									<input type="text" class="form-control" id="addr"/>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-4 control-label no-padding-right">负责人</label>
								<div class="col-sm-8">
									<input type="text" class="form-control" id="user"/>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-4 control-label no-padding-right">座机号码</label>
								<div class="col-sm-8">
									<input type="text" class="form-control" id="phone1"/>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-4 control-label no-padding-right">手机号码</label>
								<div class="col-sm-8">
									<input type="text" class="form-control" id="phone2"/>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-4 control-label no-padding-right">邮箱</label>
								<div class="col-sm-8">
									<input type="text" class="form-control" id="email"/>
								</div>
							</div>
							<div id='alertdiv'></div>
							<div class="alert alert-danger" style="display: none;"></div>
							<div class="form-group">
								<div class="form-btns col-sm-8 col-md-offset-4">
									<button onclick="addInCofe()" type="button"  class="btn btn-success">确定</button>
									&nbsp;&nbsp;&nbsp;&nbsp;
									<button onclick="retInCofe()" type="button"  class="btn btn-primary">重置</button>
								</div>
							</div>
					 	</form>
	 				</div>
	 			</div>
		 	</div>
	 	</div> 
  	</body>
</html>
